package com.haierp.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.haierp.dto.BuyerTaskDailyDTO;
import com.haierp.model.ErpOrder;
import com.haierp.model.ItemSku;
import com.haierp.model.TaskDailyDetail;
import com.haierp.vo.BuyerTaskVO;

/**
 * @author zhulu
 *
 */
public interface TaskDailyDetailMapper extends AutoMapper<TaskDailyDetail>{

	List<BuyerTaskDailyDTO> queryBuyerTaskList(BuyerTaskVO buyerTaskVO);
	
	List<ItemSku> taskDailyExportByTaskId(Long taskId);
	
	List<TaskDailyDetail> queryDailyDetailByTaskId(Long taskId);
	
	void closeTaskDetailDaily(@Param("taskDailyIdList")List<Long> taskDailyIdList);
	
	void finishTaskDetailDaily(@Param("taskDailyIdList")List<Long> taskDailyIdList);
	
	void updateUpcForTaskDailyDetail(ErpOrder erpOrder);
	
	List<TaskDailyDetail> queryTaskDailyJoinBuySites(String  buySites);
}
